﻿#include "watchimagedialog.h"
#include "ui_watchimagedialog.h"

WatchImageDialog::WatchImageDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::WatchImageDialog)
{
    ui->setupUi(this);
}

WatchImageDialog::~WatchImageDialog()
{
    delete ui;
}

void WatchImageDialog::setImage(const QImage& image)
{
    ui->lb_image->setPixmap(QPixmap::fromImage(image.scaled(200,125)));
}
